	.file	"main.c"
	.text
	.section	.rodata
.LC0:
	.string	"od -tx -tc "
.LC1:
	.string	"%s"
.LC2:
	.string	"r"
.LC3:
	.string	"\345\216\237\346\226\207\344\273\266\350\276\223\345\207\272\344\270\272\357\274\232"
.LC4:
	.string	" %c   "
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	movl	$0, %eax
	call	printf@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-64(%rbp), %rax
	leaq	.LC2(%rip), %rsi
	movq	%rax, %rdi
	call	fopen@PLT
	movq	%rax, -72(%rbp)
	movq	-72(%rbp), %rax
	movq	%rax, %rdi
	call	fgetc@PLT
	movb	%al, -73(%rbp)
	leaq	.LC3(%rip), %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L2
.L5:
	cmpb	$10, -73(%rbp)
	jne	.L3
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L4
.L3:
	movsbl	-73(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	movq	-72(%rbp), %rax
	movq	%rax, %rdi
	call	fgetc@PLT
	movb	%al, -73(%rbp)
.L2:
	cmpb	$-1, -73(%rbp)
	jne	.L5
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	tc@PLT
	movl	$10, %edi
	call	putchar@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	tx@PLT
	nop
	movq	-8(%rbp), %rax
	xorq	%fs:40, %rax
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0"
	.section	.note.GNU-stack,"",@progbits
